package com.lishilin.gulimall.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@AllArgsConstructor
@NoArgsConstructor//无参构造器
@Data
public class CateLog2VO {//2级分类vo
    private String catalog1Id;//一级父分类的id
    private List<Catelog3Vo> catalog3List;//三级子分类
    private String id;
    private String name;

    @AllArgsConstructor
    @NoArgsConstructor//无参构造器
    @Data
    public static class Catelog3Vo {//3级分类vo
        private String catalog2Id;//父分类2级分类的id
        private String id;
        private String name;
    }
}
